package com.example.course.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName scores
 */
@TableName(value ="scores")
@Data
public class Scores implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "scores_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long scoresId;

    /**
     * 用户表主键
     */
    @TableField(value = "scores_user_id")
    private Long scoresUserId;

    /**
     * 课程表主键
     */
    @TableField(value = "scores_course_id")
    private Long scoresCourseId;

    /**
     * 课程类别表主键
     */
    @TableField(value = "scores_course_category_id")
    private Long scoresCourseCategoryId;

    /**
     * 课程名
     */
    @TableField(value = "scores_course_name")
    private String scoresCourseName;

    /**
     * 课程号
     */
    @TableField(value = "scores_course_number")
    private Long scoresCourseNumber;

    /**
     * 总成绩
     */
    @TableField(value = "scores_grade")
    private String scoresGrade;

    /**
     * 课序号
     */
    @TableField(value = "scores_course_ordinal")
    private Long scoresCourseOrdinal;

    /**
     * 课程类别
     */
    @TableField(value = "scores_course_category_name")
    private String scoresCourseCategoryName;

    /**
     * 课程性质
0：必修
1：选修
     */
    @TableField(value = "scores_course_nature")
    private Integer scoresCourseNature;

    /**
     * 学分
     */
    @TableField(value = "scores_crs")
    private String scoresCrs;

    /**
     * 学时
     */
    @TableField(value = "scores_hours")
    private String scoresHours;

    /**
     * 修读方式
     */
    @TableField(value = "scores_course_study")
    private String scoresCourseStudy;

    /**
     * 是否主修
0：是
1：否
     */
    @TableField(value = "scores_course_major")
    private Integer scoresCourseMajor;

    /**
     * 考试日期
     */
    @TableField(value = "scores_time")
    private String scoresTime;

    /**
     * 绩点
     */
    @TableField(value = "scores_grade_points")
    private String scoresGradePoints;

    /**
     * 重修重考
0：通过
1：重修
     */
    @TableField(value = "scores_rebuild")
    private Integer scoresRebuild;
    /**
     * 学期
     */
    @TableField(value = "semester_id")
    private Long semesterId;

    /**
     * 逻辑删除
0：未删除
1：已删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}